package com.wanxs.mall.member.service;

import com.wanxs.mall.common.service.CrudService;
import com.wanxs.mall.member.dto.MemberDTO;
import com.wanxs.mall.member.entity.MemberEntity;
import com.wanxs.mall.member.vo.MemberLoginVO;
import com.wanxs.mall.member.vo.MemberReigerVO;
import com.wanxs.mall.member.vo.SocialUser;

/**
 * 会员
 *
 * @author wanxs 130001934@qq.com
 * @since 1.0.0 2023-09-24
 */
public interface MemberService extends CrudService<MemberEntity, MemberDTO> {

    void register(MemberReigerVO vo);

    MemberEntity login(MemberLoginVO vo);

    MemberEntity login(SocialUser vo);
}